package it.sd.pwframework.business.service;

import it.sd.pwframework.business.bean.PwForm;
import it.sd.pwframework.business.bean.PwRow;
import it.sd.pwframework.business.bean.PwRows;

import java.util.Collection;
import java.util.List;

public interface CommonService {
    
	public Collection<PwForm> getForms() throws Exception;
	
	public PwForm getForm(String name) throws Exception;
	public PwForm getFormByClassname(String classname) ;
	
	
	public List<PwForm> retrieveForms() throws Exception;
	
	public PwRows retrieveRows(PwForm bean) throws Exception;
	
	public PwRow retrieveRow(PwForm bean, Long id) throws Exception;

	public void save(PwRow row) throws Exception;
	
	public void delete(PwRow row) throws Exception;

	
}
